package com.kx.smartdevice.exceptions;

/**
 * @ClassName MyBaseErrorException
 * @Author Sun
 * @Date 2021/5/26 18:48
 */
public class MyBaseErrorException extends RuntimeException{
    private int code;

    public MyBaseErrorException() {
    }
    public MyBaseErrorException(String message,int code) {
        super(message);
        this.code=code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
